const { Sequelize } = require('sequelize');

const sequelize = new Sequelize('zstp', 'root', '123456', {
  host: 'localhost',
  dialect: 'mysql',
  logging: false // 生产环境可以关闭日志
});

module.exports = sequelize; // 直接导出实例